package com.umfb.bootstrap.commons;

/**
 * Created by gzheng on 17-11-16.
 */
public enum ErrorCode {
    /**
     * 参数错误
     */
    PARAM_ERROR(1, "参数错误");

    private int value;

    private String errMsg;

    private ErrorCode(int v, String errMsg) {
        this.value = v;
        this.errMsg = errMsg;
    }

    public int getValue() {
        return value;
    }

    public String getErrMsg() {
        return this.errMsg;
    }
}
